{% extends 'base.html' %}

{% block content %}
<div class="center_div">
    <form method="post">
        <select name="tag_id">
            {% for tag in tags %}
            <option value="{{ tag.id }}">{{ tag.title }}</option>
            {% endfor %}
        </select>

        <select name="type">
            <option value="GK">公开讨论</option>
            <option value="CZ">村内讨论</option>
        </select>

        <br><br>
        <input name="title" style="width: 80%" placeholder="标题" required>
        <br><br>
        <textarea name="content" style="width: 80%; height: 250px" placeholder="文明发帖" required></textarea>
        <br><br>
        <button type="submit">提交</button>
    </form>
</div>
{% endblock %}